
###############################################################################
#  PROJECT_ALL_DIR        - store all directories under the project
#                           used by the find<package>.cmake modules
#  PROJECT_ALL_LIB_DIR    - store all directories under the project
#                           which stores the built libraries
#

# - Try to find TinyXml
# Once done this will define following variables
#  
#  TINYXML_FOUND        - system has TinyXml
#  TINYXML_INCLUDE_DIRS - the TinyXml include directory
#  TINYXML_LIBRARY_DIRS - the TinyXml library directory
#  TINYXML_LIBRARIES    - Link these to use TinyXml
#

SET( TINYXML_FOUND TRUE )
SET( TINYXML_INCLUDE_DIRS ${PROJECT_ALL_DIR} )
SET( TINYXML_LIBRARY_DIRS ${PROJECT_ALL_LIB_DIR} )
SET( TINYXML_LIBRARIES TinyXml )

# verbose
IF( BUILD_VERBOSE )
    MESSAGE( STATUS 
        "----verbose: TINYXML_INCLUDE_DIRS: 
        ${TINYXML_INCLUDE_DIRS}" )
    MESSAGE( STATUS 
        "----verbose: TINYXML_LIBRARY_DIRS: 
        ${TINYXML_LIBRARY_DIRS}" )
    MESSAGE( STATUS 
        "----verbose: TINYXML_LIBRARIES:
        ${TINYXML_LIBRARIES}" )
ENDIF( BUILD_VERBOSE )

